package com.epam.training.myspringioc.parsers;

import java.util.Map;

import com.epam.training.myspringioc.BeanDefinition;

/**
 * 
 * @author bogdan
 *
 */
public interface Parser {
	String BEAN_TAG_NAME = "bean";
	String CONSTRUCTOR_TAG_NAME = "constructor-arg";
	String PROPERTY_TAG_NAME = "property";

	String CLASS_ATRIBUTE_NAME = "class";
	String REF_ATRIBUTE_NAME = "ref";
	String VALUE_ATRIBUTE_NAME = "value";
	String NAME_ATRIBUTE_NAME = "name";
	String ID_ATRIBUTE_NAME = "id";

	/**
	 * Parse xml file
	 * 
	 * @param xmlFileName
	 * @return
	 */
	Map<String, BeanDefinition> parseXml(String xmlFileName);
}
